finding factors of a number